/* ------------ MAIN CONTENT ----------------*/

.padded {
    padding: 5px;
}

.fluidRowsContent {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-left: -5px;
    margin-right: -5px;
}

.fluidLeftPart {
    float: left;
    padding: 10px;
    width: auto;
    white-space: normal;
    min-width: 150px;
    max-width: 60%;
    margin-right: 2%;
}

.fluidRightPart {
    background: #fff;
    overflow: auto;
    padding: 10px;
    white-space: normal;
    width: auto;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
}

.staticToolbar {
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #808080;
    height: 40px;
    top: 0px;
    background-color: #eee;
    padding-top: 2px;
}

.staticToolbar70px {
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #808080;
    width: 100%;
    height: 70px;
    top: 0px;
    background-color: #eee;
    padding-top: 2px;
}

/* ------------- OVERWRITING THINGS-------------------- */

.jstree a {
    white-space: normal;
}

.image-wrapper {
    float: left;
    text-align: center;
    cursor: pointer;
}

.image {
    width: 100px;
    height: 74px;
}

.folder {
    width: 100px;
    height: 74px;
    background: url("../js/libs/redactor/css/images/folder.png") no-repeat scroll left center transparent;
}

.text-wrapper {
    margin-left: -10px;
    margin-top: -10px;
}

.quizCollectionItem td {
    height: 30px;
    vertical-align: middle;
}

.quizList {
    list-style-type: none;
    margin: 0;
}

.search {
    font-size: 130% !important;
}

.quizItemTitle {
    font-size: 16px;
    font-weight: bold;
    vertical-align: middle;
    float: left;
    padding: 5px 10px 5px 3px;
}

.availableQuizItem {
    margin-bottom: 5px;
    background: #fff;
    margin: 10px 0;
    padding: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 0 0 4px -2px #A5A9AA;
}

.quizBodyContent {
    padding: 5px;
}

.availableQuizLabel {
    display: block;
    font-weight: bold;
    font-size: large;
}

.itemHeader {
    padding: 3px;
    font-weight: bold;
    background-color: #EDEEEF;
    border: 1px solid #EDEEEF;
    margin-bottom: 12px;
}

.categoryView {
    margin: 10px;
    background: #fff;
    overflow: auto;
    padding: 10px;
    white-space: normal;
    width: auto;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.quizQuestionView {
    margin: 10px;
    background: #fff;
    overflow: auto;
    padding: 10px;
    white-space: normal;
    width: auto;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

/*----*/

.sortButton {
    cursor: pointer;
    padding: 5px 10px 6px !important;
}

.editTitleButton {
    background: #edeeef;
    float: left;
}

.editDescriptionButton {
    background: #fff;
    float: right;
}

.editQuestionsButton {
    background-color: transparent;
    float: right;
}

.quizManagementButton {
    background-color: transparent;
    float: right;
}

.removeQuizButton {
    background: #edeeef;
    float: right;
}

.editQuizButton {
    background: #edeeef;
    float: right;
}

.buttonList {
    background-position: 0px 0px !important;
}

.buttonList:hover {
    background-position: -24px 0px !important;
}

.buttonEdit {
    background-position: 0px -112px !important;
}

.buttonEdit:hover {
    background-position: -28px -112px !important;
}

.buttonDone {
    background-position: 0px -280px !important;
}

.buttonDone:hover {
    background-position: -28px -280px !important;
}

.buttonDownload {
    background-position: 0px -252px !important;
}

.buttonDownload:hover {
    background-position: -28px -252px !important;
}

.buttonInstall {
    background-position: 0px -280px !important;
}

.buttonInstall:hover {
    background-position: -28px -280px !important;
}

/* Tabs restyling */

#quizTabs {
    background: transparent;
    border: none;
}

#quizTabs .ui-widget-header {
    background: transparent;
    border: none;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    padding-left: 10px;
}

#quizTabs .ui-state-default {
    background: #D9DCDD;
    border: none;
    margin-right: 5px;
    border-top: 1px solid #BBBDBE;
    border-left: 1px solid #BBBDBE;
    border-right: 1px solid #BBBDBE;
}

#quizTabs .ui-state-active {
    background: #edeeef;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    border-top: 1px solid #BBBDBE;
    border-left: 1px solid #BBBDBE;
    border-right: 1px solid #BBBDBE;
}

#quizTabs .ui-state-default a {
    color: #000;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#quizTabs .ui-state-active a {
    background: #edeeef;
    color: #000;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#quizTabs .ui-tabs-panel {
    background: #edeeef;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 15px;
    border: 1px solid #BBBDBE;
}

/* ------------- 2nd edition -------------------- */

.quizSection {
    border-bottom: solid 1px #CCCCCC;
    margin: 2px 0px 10px 0px;
}

.quizSectionTitle {
    font-weight: bold;
    float: left;
}

.SCORMResult {
    margin: 7px 0px 10px 0px;
}

#SCORMQuestionTypeDiv {
    margin: 0 0 10px;
}

#SCORMQuestionType {
    margin: 0 6px;
}

.quizSectionType {
    float: left;
    font-weight: bold;
    padding-right: 4px;
    padding-top: 0;
}

.SCORMCheckbox {
    margin: 5px 0;
}

.SCORMAnswerTitle {
    font-weight: bold;
    font-style: italic;
    float: left;
    max-width: 80%;
    padding: 6px 6px 3px 0;
}

.SCORMAnswerText {
    float: left;
    width: 80%;
}

input#SCORMAnswerText, input#SCORMAnswerRangeFrom, input#SCORMAnswerRangeTo {
    border: solid 1px #B3B3B3;
    padding: 4px;
    background: #FFF;
}

input#SCORMAnswerText:focus,
input#SCORMAnswerRangeFrom:focus,
input#SCORMAnswerRangeTo:focus {
    border: solid 1px #B3B3B3;
    padding: 4px;
    background: #EFECBD;
}

.SCORMAnswerHeader {
    padding: 4px 0;
}

.SCORMAnswerTextArea {
    padding: 5px 0 8px 0;
}

.answerSectionTitle {
    font-weight: bold;
    padding: 2px 0;
}

#SCORMCategoryView,
#SCORMCategoryEdit,
#SCORMQuestionContentDiv {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 10px;
    background: #FFF;
    margin: 5px;
}

.SCORMPackageListHeaderButtons {
    background-color: #EDEEEF;
    font-weight: bold;
    padding: 3px;
    margin-bottom: 12px;
}

#SCORMQuizHeader {
    margin-bottom: 15px;
}

.itemHeader #quizEditTitle {
    float: none;
}

.quizQuestionAmount {
    font-style: italic;
}

/* ------------ Search ----------------*/

.SCORMSearch {
    background: #FFF;
    border: solid 2px #A5A9AA;
    outline: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 7px 10px 6px 30px;
    font-family: sans-serif;
    font-size: 14px;
    background-image: url("../img/icons/search.png");
    background-position: 8px 4px;
    background-repeat: no-repeat;
    color: #000;
    box-shadow: 0px 0px 8px -2px #A5A9AA;
}

.SCORMSearch:focus {
    background-color: #EFECBD;
    border-color: #333333;
    box-shadow: 0px 0px 10px -2px #A5A9AA;
}

/* ------------ Buttons ----------------*/

.questionbankAnswerDelete {
    background-position: 0px -51px !important;
}

.questionbankAnswerDelete:hover {
    background-position: -24px -51px !important;
}

.buttonAddCategory {
    background-position: 0px 0px !important;
}

.buttonAddCategory:hover {
    background-position: -28px 0px !important;
}

.buttonAddQuestion {
    background-position: 0px -28px !important;
    float: left;
}

.buttonAddQuestion:hover {
    background-position: -28px -28px !important;
}

.buttonAddExternalResource {
    background-position: 0px -308px !important;
    float: left;
}

.buttonAddExternalResource:hover {
    background-position: -28px -308px !important;
}

.buttonPreviewResource {
    background-position: 0px -336px !important;
}

.buttonPreviewResource:hover {
    background-position: -28px -336px !important;
}

.buttonAddLiferayResource {
    background-position: 0px -364px !important;
    float: left;
}

.buttonAddLiferayResource:hover {
    background-position: -28px -364px !important;
}

.buttonRemove {
    background-position: 0px -56px !important;
}

.buttonRemove:hover {
    background-position: -28px -56px !important;
}

.buttonPen {
    background-position: 0px -18px !important;
}

.buttonPen:hover {
    background-position: -24px -18px !important;
}

.questionbankButton {
    float: right;
}

#SCORMButtonAddQuiz {
    color: #000 !important;
    background: url("../img/add-new.png") no-repeat transparent !important;
    height: 22px !important;
    padding-left: 26px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: bold !important;
    font-family: sans-serif !important;
}

#SCORMButtonAddQuiz:hover {
    background: url("../img/add-new-hover.png") no-repeat transparent !important;
    height: 22px !important;
    padding-left: 26px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: bold !important;
    font-family: sans-serif !important;
    color: #D34040 !important;
}

#SCORMButtonAddElement {
    color: #000 !important;
    background: url("../img/add-new.png") no-repeat scroll 0 0 transparent !important;
    border: medium none !important;
    cursor: pointer !important;
    font-family: sans-serif !important;
    font-size: 14px !important;
    font-weight: normal !important;
    height: 22px !important;
    padding-left: 26px !important;
}

#SCORMButtonAddElement:hover {
    background: url("../img/add-new-hover.png") no-repeat transparent !important;
    height: 22px !important;
    padding-left: 26px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: normal !important;
    color: #D34040 !important;
}

.SCORMSave {
    float: right;
}

.questionarieTreeEditButton {
    float: right;
}

.SCORMAddNewButton {
    color: #000 !important;
    background: #FFF !important;
    display: block !important;
    -moz-border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    border-radius: 5px !important;
    padding: 7px !important;
    margin-top: 10px !important;
    box-shadow: 0px 0px 4px -2px #A5A9AA !important;
}

#SCORMButtonAddAnswer {
    color: #000 !important;
    background: url("../img/add-new.png") no-repeat transparent !important;
    height: 22px !important;
    padding-left: 26px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: bold !important;
    font-family: sans-serif !important;
}

#SCORMButtonAddAnswer:hover {
    background: url("../img/add-new-hover.png") no-repeat transparent !important;
    height: 22px !important;
    padding-left: 26px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: bold !important;
    font-family: sans-serif !important;
    color: #D34040 !important;
}

#quizTabs li .ui-icon-close {
    float: left;
    margin: 0.4em 0.2em 0 0;
    cursor: pointer;
}

.dialogIFrame {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    border: 0px;
}

.selectDialogIFrame {
    width: 99%;
    height: 93%;
    border: #6B6B6B solid 1px;
    margin-top: 3px;
    padding: 0;
}

.selectArticleButton {
    float:right
}

.journalArticle {
    display: inline-block;
    padding: 5px;
    margin: 3px;
    border: #6B6B6B solid 1px;
    cursor: pointer;
}

.languageSelected {
    background: #fcf0ba
}